package propertyManager;

import java.awt.RenderingHints;

public class PropertyDefaultValues {
	private PropertyManager propertyManager;
	public PropertyDefaultValues(){
		propertyManager = PropertyManager.getInstance();
		setDefaultPropertyValues();
	}
		
		
	public void setDefaultPropertyValues(){
		propertyManager.set("NUMBER_OF_RENDER_THREADS", 8);
		propertyManager.set("BOARD_WIDTH", 600);
		propertyManager.set("BOARD_HEIGTH", 800);
		propertyManager.set("GROUND", 800);
		propertyManager.set("DELAY", 20);
		/*
	     * VALUE_ANTIALIAS_ON
		 * VALUE_ANTIALIAS_OFF
		 * VALUE_ANTIALIAS_DEFAULT
	     */
		propertyManager.set("antialising", new RenderingHints(
	    									RenderingHints.KEY_ANTIALIASING,
	    									RenderingHints.VALUE_ANTIALIAS_OFF));
		/*
	     * VALUE_TEXT_ANTIALIAS_ON
		 * VALUE_TEXT_ANTIALIAS_OFF
		 * VALUE_TEXT_ANTIALIAS_DEFAULT
	     */
		propertyManager.set("text_antialising", new RenderingHints(
	    									RenderingHints.KEY_TEXT_ANTIALIASING,
	    									RenderingHints.VALUE_TEXT_ANTIALIAS_OFF));
		/*
	     * VALUE_ALPHA_INTERPOLATION_QUALITY
		 * VALUE_ALPHA_INTERPOLATION_SPEED
		 * VALUE_ALPHA_INTERPOLATION_DEFAULT
	     */
		propertyManager.set("alpha_interp", new RenderingHints(
	    									RenderingHints.KEY_ALPHA_INTERPOLATION,
	    									RenderingHints.VALUE_ALPHA_INTERPOLATION_SPEED));
		    
		/*
	     * VALUE_RENDER_SPEED 
		 * VALUE_RENDER_QUALITY
		 * VALUE_RENDER_DEFAULT
	     */
		propertyManager.set("key_rendering", new RenderingHints(
	    									RenderingHints.KEY_RENDERING,
	    									RenderingHints.VALUE_RENDER_SPEED));
		
		    
		/*
	     * VALUE_COLOR_RENDER_SPEED 
		 * VALUE_COLOR_RENDER_QUALITY
		 * VALUE_COLOR_RENDER_DEFAULT
	     */    
		propertyManager.set("key_color_rendering", new RenderingHints(
	    									RenderingHints.KEY_COLOR_RENDERING,
	    									RenderingHints.VALUE_COLOR_RENDER_SPEED));    
		
	}

}
